package com.dswz.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.dswz.po.Catalog;
import com.dswz.po.CatalogQuery;

public interface CatalogDao {
	int countByExample(CatalogQuery example);

	int deleteByExample(CatalogQuery example);

	int insert(Catalog record);

	int insertSelective(Catalog record);

	List<Catalog> selectByExample(CatalogQuery example);

	int updateByExampleSelective(@Param("record") Catalog record, @Param("example") CatalogQuery example);

	int updateByExample(@Param("record") Catalog record, @Param("example") CatalogQuery example);

	int updateByPrimaryKeySelective(Catalog paramCatalog);

	int updateByPrimaryKey(Catalog paramCatalog);

	int deleteByPrimaryKey(Integer id);

	Catalog selectByPrimaryKey(Integer id);
	
	List<Catalog> selectAll();

}